
[DEPRECATED: use
GET /manage/v3
and
POST /manage/v3
instead.]
name) in the named package (pkgname).
| URL Parameters | |
|---|---|
| format |
The format of the returned database configuration. This can be either xml
or json. By default, the format is xml.
|
| Request Headers | |
|---|---|
| Accept |
The expected MIME type of the response. If the format
parameter is present, it takes precedence over the Accept header.
|
| Response Headers | |
|---|---|
| Content-type |
The MIME type of the data in the response body. Depending upon the
value of the format parameter or Accept header, either
application/zip or application/json.
|
Upon success, MarkLogic Server returns the configuration of the database.
manage-user role, or the
following privilege:
http://marklogic.com/xdmp/privileges/manage
http://localhost:8002/manage/v2/packages/test-package/databases/Documents
==> Returns the XML configuration of the 'Documents' database from the
package, "test-package."
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.